package customize

import (
	v1 "gitcode.com/G-YT/baoyou/server/api/v1"
	"github.com/gin-gonic/gin"
)

type MedicalHistoryRouter struct {
}

func (m *MedicalHistoryRouter) InitMedicalHistoryRouter(Router *gin.RouterGroup) {
	historyRouter := Router.Group("history")
	historyApi := v1.ApiGroupApp.CustomizeApiGroup.MedicalHistoryApi
	{
		historyRouter.POST("saveDiseaseHistory", historyApi.SaveMedicalHistory)      // 保存病史
		historyRouter.GET("getUserDiseaseHistory", historyApi.GetUserMedicalHistory) // 获取用户病史
	}
}
